package com.zhixue.base.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class PageParams {

    //用Long类型是因为mybatisPuls的分页是用long来表示

    //当前页码
    @ApiModelProperty("当前页码")
    private Long pageNo =1L;

    //每页记录数默认值
    @ApiModelProperty("每页记录数默认值")
    private Long pageSize =10L;


}
